package mylab.usm.oauth2.client.service;

import com.fujieid.jap.core.JapUser;
import me.zhyd.oauth.model.AuthUser;

public interface JapUserService {
    JapUser getById(String userId);

    JapUser getByUsername(String username);

    boolean validPassword(String password, JapUser user);

    JapUser getByPlatformAndUid(String platformId, String uid);

    JapUser createUser(AuthUser userInfo);
}
